@import '../material/media.scss';

@mixin viewLayout($auto: true) {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 10px;
	width: 100%;
	max-width: 1600px;
	@if $auto {
		@include mediaSm {
			width: min($mediaSmBreak, 75%);
		}
		@include mediaMd {
			width: min($mediaMdBreak, 75%);
		}
		@include mediaLg {
			width: min($mediaLgBreak, 75%);
		}
	}
}